<!DOCTYPE html>
<html class="x-admin-sm">
  <head>
    <meta charset="UTF-8">
    <title>欢迎页面-X-admin2.1</title>
    <meta name="renderer" content="webkit">
    <meta http-equiv="X-UA-Compatible" content="IE=edge,chrome=1">
    <meta name="viewport" content="width=device-width,height=device-height,initial-scale=1.0, minimum-scale=1.0, maximum-scale=1.0, user-scalable=no">
    <link rel="stylesheet" href="__ADMIN__/css/font.css">
    <link rel="stylesheet" href="__ADMIN__/css/xadmin.css">
    <script type="text/javascript" src="__ADMIN__/js/jquery.min.js"></script>
    <script type="text/javascript" src="__ADMIN__/lib/layui/layui.js" charset="utf-8"></script>
    <script type="text/javascript" src="__ADMIN__/js/xadmin.js"></script>
    <script type="text/javascript" src="__ADMIN__/js/cookie.js"></script>
    <style>
        .layui-form-item .layui-form-label{
            width: 120px;
        }
        .layui-form-item .layui-textarea{
            width: 190px;
        }
    </style>
    <script type="text/javascript">

  </script>
  </head>
  
  <body>
    <div class="x-body">
        <fieldset class="layui-elem-field layui-field-title" style="margin-top: 10px;">
          <legend>专题列表 {:count($specialList)}条</legend>
        </fieldset>
        
        <table class="layui-table">
            <colgroup>
            <col width="50">
            <col width="">
            </colgroup>
            <tbody>
            {volist name="specialList" id="value"}
            <tr>
                <td>{$value.special_id}</td>
                <td>{$value.special_name}</td>
            </tr>
            {/volist}
            </tbody>
        </table>
        
        <fieldset class="layui-elem-field layui-field-title" style="margin-top: 10px;">
          <legend>活动列表 {:count($liveList)}条</legend>
        </fieldset>
        
        <table class="layui-table">
            <colgroup>
                
            <col width="50">
            <col width="">
            <col width="80">
            <col width="140">
            <col width="140">
            </colgroup>
            <tbody>
            <tr>
                <td>直播id</td>
                <td>活动名称</td>
                <td>所属人</td>
                <td>开始时间</td>
                <td>结束时间</td>
            </tr>
            {volist name="liveList" id="value"}
            <tr>
                <td>{$value.id}</td>
                <td>{$value.title}</td>
                <td>{$value.name}</td>
                <td>{$value.start_at?date('Y-m-d H:i',$value.start_at):''}{$value.end_text}</td>
                <td>{$value.end_at?date('Y-m-d H:i',$value.end_at):''}{$value.end_text}</td>
            </tr>
            {/volist}
            </tbody>
        </table>


    </div>
    <script>
        layui.use(['form','layer','laydate','upload'], function(){
          $ = layui.jquery;
          var form = layui.form
          ,layer = layui.layer
          ,laydate = layui.laydate
          ,upload = layui.upload;


        });
    </script>
  </body>

</html>